package com.castlzl.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author leiziliang
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("req_prod_spec")
@ApiModel(value="ReqProdSpec对象", description="")
public class ReqProdSpec implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("spec_inner_id")
    private String specInnerId;

    @TableField("req_id")
    private String reqId;

    @TableField("prod_info_id")
    private String prodInfoId;

    @TableField("prod_spec_id")
    private String prodSpecId;

    @TableField("quantity")
    private String quantity;

    @TableField("status")
    private Integer status;

    @TableField("struts_msg")
    private String strutsMsg;

    @TableField("color")
    private String color;

    @TableField("size")
    private String size;

    @TableField("weight")
    private String weight;

    @TableField("texture")
    private String texture;

    @TableField("picture")
    private String picture;

    @TableField("comment")
    private String comment;

    @TableField("plan_start_time")
    private LocalDateTime planStartTime;

    @TableField("plan_end_time")
    private LocalDateTime planEndTime;

    @TableField("actual_start_time")
    private LocalDateTime actualStartTime;

    @TableField("actual_end_time")
    private LocalDateTime actualEndTime;

    @TableField("attr1")
    private String attr1;

    @TableField("spec_name")
    private String specName;

    @TableField("attr3")
    private String attr3;

    @TableField("attr4")
    private String attr4;

    @TableField("attr5")
    private String attr5;

    @TableField("name")
    private String name;

    @TableField("attr2")
    private String attr2;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_user")
    private String updateUser;

    @ApiModelProperty(value = "数量单位编号")
    @TableField("quantity_unit_id")
    private String quantityUnitId;

    @ApiModelProperty(value = "数量单位名称")
    @TableField("quantity_unit_name")
    private String quantityUnitName;

    @ApiModelProperty(value = "子需求排程成功时间")
    @TableField("sub_req_schedule_success_time")
    private LocalDateTime subReqScheduleSuccessTime;

    @TableField("spec_latest_delivery_date")
    private LocalDateTime specLatestDeliveryDate;

    @TableField("spec_delivery_date")
    private LocalDateTime specDeliveryDate;

    @ApiModelProperty(value = "子需求异常类型")
    @TableField("sub_order_exception_type")
    private String subOrderExceptionType;

    @ApiModelProperty(value = "子需求异常描述")
    @TableField("sub_order_exception_desc")
    private String subOrderExceptionDesc;

    @ApiModelProperty(value = "子需求异常上报人编号")
    @TableField("sub_order_exception_reporter_id")
    private String subOrderExceptionReporterId;

    @ApiModelProperty(value = "子需求异常上报人")
    @TableField("sub_order_exception_reporter")
    private String subOrderExceptionReporter;

    @ApiModelProperty(value = "子需求异常上报时间")
    @TableField("sub_order_exception_time")
    private LocalDateTime subOrderExceptionTime;

    @ApiModelProperty(value = "子需求异常备注")
    @TableField("sub_order_exception_content")
    private String subOrderExceptionContent;

    @ApiModelProperty(value = "生产单编号")
    @TableField("production_order_number")
    private String productionOrderNumber;


}
